﻿<%@ Page Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true"
    CodeFile="addEditRegion.aspx.cs" Inherits="Admin_addEditRegion" Title="Untitled Page" %>

<asp:Content ID="Content3" ContentPlaceHolderID="pnlMain" runat="Server">
    <br />
    <p class="h2">
        Add/Edit Region</p>
    <table cellpadding="0" cellspacing="0">
        <tr>
            <td>
                *Region Name
            </td>
            <td>
                <asp:TextBox ID="txtRegionName" MaxLength="100" Width="200" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvRegionName" Display="Dynamic" runat="server" ControlToValidate="txtRegionName"
                    ErrorMessage="Region name is required"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                *Country
            </td>
            <td>
                <asp:DropDownList ID="ddlCountry" runat="server" Width="200">
                </asp:DropDownList>
                <asp:CustomValidator ID="cvCountry" runat="server" ErrorMessage="Country is required"
                    OnServerValidate="cvCountry_ServerValidate"></asp:CustomValidator>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" />&nbsp;&nbsp;&nbsp;<asp:Button
                    ID="btnCancel" runat="server" CausesValidation="false" Text="Cancel" OnClick="btnCancel_Click" />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                &nbsp;&nbsp;</td>
        </tr>
    </table>
</asp:Content>
